package portal.mybatis.dao.mapper;

import java.util.List;

import beans.BaseResourceState;
import portal.mybatis.page.Page;

public interface ScheduleClusterMapper {
	Long countByHostName(String hostName);
	Long insertSelective(BaseResourceState b);
	List<BaseResourceState> selectNearestHost(Page<BaseResourceState> page);
	Long countHosts();
	List<BaseResourceState> selectPageHosts(Page<BaseResourceState> page);
	Long countPageHosts(Page<BaseResourceState> page);
	List<BaseResourceState> selectHisByHost(BaseResourceState state);
}
